From: Andrew Garrett Date: Fri, 6 Nov 2009 10:31:09 +0000 (+0000) Subject: Remove upload from wgRestrictionTypes, it is added as a special case in getProtection... X-Git-Tag: 1.31.0-rc.0~38950 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=1863b71e11d7d80ad038361cb72c6058eed42abe;p=lhc%2Fweb%2Fwiklou.git Remove upload from wgRestrictionTypes, it is added as a special case in getProtectionTypes --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 3a04e45c1d..0b3e182d3b 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1452,7 +1452,7 @@ $wgGroupsRemoveFromSelf = array(); * You probably shouldn't change this. * Translated through restriction-* messages. */ -$wgRestrictionTypes = array( 'edit', 'move', 'upload' ); +$wgRestrictionTypes = array( 'edit', 'move' ); /** * Rights which can be required for each protection level (via action=protect)